#ifndef __CMDTYPE_H__
#define __CMDTYPE_H__
#include "head.h"
#include "train.h"
#include "transfile.h"
#include "SendMsg.h"

typedef enum
{
	CMD_TYPE_CD = 1,
	CMD_TYPE_LS = 2,
	CMD_TYPE_PWD = 4,
	CMD_TYPE_PUT = 8,
	CMD_TYPE_GET = 16,
	CMD_TYPE_RM = 32,
	CMD_TYPE_MKDIR = 64,
	CMD_TYPE_LOGIN = 128,
	CMD_TYPE_REG = 256
} CmdType;

void analyze_cmd(int clientfd);

#endif